<html>
<head>
<!--meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title> </title>
<link href="{$images_dir}/situationf.css" type="text/css" rel="stylesheet"/>
</head>

<body lang=FR>

<div style="page-break-after:always;">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="header">
  <tr>
    <td id="header_center">Boutiques de Gestion de l'Essonne</td>
  </tr>
  <tr>
    <td id="header_center2">Le Fil d'Harliane</td>
  </tr>
</table>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td class="vertical">&nbsp;</td>
    <td><h1>Situation sur le projet</h1></td>
  </tr>
  <tr>
    <td class="square">&nbsp;</td>
    <td class="horizontal"></td>
  </tr>
  <tr>
    <td class="vertical height_600px">&nbsp;</td>
    <td valign="top">
      <table border="0" cellspacing="0" cellpadding="0" width="100%">
      <tr>
        <td width="22%" valign="center" align="center"><img src="{$images_dir}/p-bg.png"      width="130" height="105" border="0" /></td>
        <td width="12%" valign="center" align="center"><img src="{$images_dir}/p-harlie.png"  width="78"  height="105" border="0" /></td>
        <td width="22%" valign="center" align="center"><img src="{$images_dir}/p-essonne.png" width="130" height="105" border="0" /></td>
        <td width="22%" valign="center" align="center"><img src="{$images_dir}/p-fse.png"     width="130" height="105" border="0" /></td>
        <td width="22%" valign="center" align="center"><img src="{$images_dir}/p-rbg.png"     width="130" height="105" border="0" /></td>
      </table>
      <table border="0" cellspacing="0" cellpadding="0" width="100%" class="project_detail">
        <thead>
          <tr>
            <td class="project_detail_head">Le porteur</td>
			<td class="project_clear"></td>
            <td class="project_detail_head">Son projet </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <!-- CoordonnÃ© du porteur -->
            <td valign="top" class="project_detail_cell" width="48%">
                <p class="owner_name">{$owner->getFullName()}</p>
                <p class="owner_address">
				{if isset($owner->address1) && $owner->address1 != null && $owner->address1 != ""}{$owner->address1}<br />{/if}
				{if isset($owner->address2) && $owner->address2 != null && $owner->address2 != ""}{$owner->address2}<br />{/if}
				{if isset($owner->address3) && $owner->address3 != null && $owner->address3 != ""}{$owner->address3}<br />{/if}
				</p>
                <p class="owner_city">{$owner->city->postal_code} {$owner->city->city_name}</p>
                {if isset($owner->email) && $owner->email != null && $owner->email != ""}<p class="owner_mail">{$owner->email}</p>{/if}
			</td>
			<td class="project_clear">&nbsp;</td>
            <!-- Le projet -->
            <td valign="top" class="project_detail_cell" width="48%">
				<p class="project_route">Type&nbsp;: {$project->route->label}</p>
				<p class="project_activity">ActivitÃ©&nbsp;: {$project->activity}</p>
				<p class="project_meeting">Date du 1<sup>er</sup> RDV&nbsp;: {$project->meetings[0]->meeting_date|from_mysql_date}</p>
				<p class="project_edition">EditÃ© le&nbsp;: {$smarty.now|date_format:"%d/%m/%Y"}</p>
			</td>
          </tr>
        </tbody>
		<tfoot>
		  <tr>
           <td colspan="3" style="background:url({$project_graph_url}&width=650&height=325) center bottom no-repeat;height:375px" />&nbsp;</td>
	      </tr>
		</tfoot>
      </table>
    </td>
  </tr>
</table>
</div>
<div>
<h2>Rendez-vous du {$edited_report->edition_date}</h2>
<h3>Commentaires du conseiller</h3>
{$edited_report->parameters['ADVCOM']->value}
<h3>Commentaires du porteur</h3>
{$edited_report->parameters['OWNCOM']->value}
</div>
{foreach from=$old_edited_report item=report}
	<div>
	<h2>Rendez-vous du {$report->edition_date}</h2>
	<h3>Commentaires du conseiller</h3>
	{$report->parameters['ADVCOM']->value}
	<h3>Commentaires du porteur</h3>
	{$report->parameters['OWNCOM']->value}
	</div>
{/foreach}
</body>

</html>
